package com.baichang.taoshunda.service;

import com.baichang.framework.excelption.ServiceException;
import com.baichang.framework.model.Page;

/**
 * Created by Administrator on 2017/8/22 0022.
 */
public interface ParamsTypeService {


    /**
     * 进行首页的查询
     *
     * @param nowPage
     * @param pageSize
     * @param typeId
     * @return
     * @throws ServiceException
     */
    Page paramType(int nowPage, int pageSize, int typeId, String paramsName) throws ServiceException;

    /**
     * 保存参数
     */
    boolean saveOrUpdateParamType(int id, int typeId, String name, int status, String value, String descri, String remark) throws ServiceException;
     boolean delete(int id ,int typeId) throws ServiceException;
}
